@@ -21,7 +21,7 @@ def complement_code(request): |
||
| 21 | 21 |
shot_path = request.POST.get('shot_path', '')
|
| 22 | 22 |
invoice_path = request.POST.get('invoice_path', '')
|
| 23 | 23 |
|
| 24 |
- log = ComplementCodeLogInfo.objects.update_or_create(user_id=user_id, log_id=log_id, defaults={
|
|
| 24 |
+ log, _ = ComplementCodeLogInfo.objects.update_or_create(user_id=user_id, log_id=log_id, defaults={
|
|
| 25 | 25 |
'name': name, |
| 26 | 26 |
'phone': phone, |
| 27 | 27 |
'model_id': model_id, |